const getters = {
    currentIndex: state => {
        return state.songList.findIndex(value =>{
            return value.id === state.currentSong.id
        })
    }
}

export default getters